<?php

require_once('pgb/Ranking.php');

function create() {
  $days = 365;
  for ($i = $days; $i >= 1; $i--) {
    RankingScheduleTask::createRanking(date("Y-m-d", strtotime("-" . $i . " day")));
  }
  RankingScheduleTask::saveToFile();
}

?>